import 'package:flutter_shop/generated/json/base/json_convert_content.dart';
import 'package:flutter_shop/generated/json/base/json_filed.dart';

class HomeContentData with JsonConvert<HomeContentData> {
	List<HomeContentDataSlide> slides;
	HomeContentDataShopInfo shopInfo;
	HomeContentDataIntegralMallPic integralMallPic;
	HomeContentDataToShareCode toShareCode;
	List<HomeContentDataRecommand> recommend;
	HomeContentDataAdvertesPicture advertesPicture;
	List<HomeContentDataFloor> floor1;
	List<HomeContentDataFloor> floor2;
	List<HomeContentDataFloor> floor3;
	HomeContentDataSaoma saoma;
	HomeContentDataNewUser newUser;
	HomeContentDataFloorPic floor1Pic;
	HomeContentDataFloorPic floor2Pic;
	HomeContentDataFloorName floorName;
	List<HomeContentDataCategory> category;
	HomeContentDataFloorPic floor3Pic;
	List<dynamic> reservationGoods;
}

class HomeContentDataSlide with JsonConvert<HomeContentDataSlide> {
	String image;
	int urlType;
	String goodsId;
}

class HomeContentDataShopInfo with JsonConvert<HomeContentDataShopInfo> {
	String leaderImage;
	String leaderPhone;
}

class HomeContentDataIntegralMallPic with JsonConvert<HomeContentDataIntegralMallPic> {
	@JSONField(name: "PICTURE_ADDRESS")
	String pictureAddress;
	@JSONField(name: "TO_PLACE")
	String toPlace;
	int urlType;
}

class HomeContentDataToShareCode with JsonConvert<HomeContentDataToShareCode> {
	@JSONField(name: "PICTURE_ADDRESS")
	String pictureAddress;
	@JSONField(name: "TO_PLACE")
	String toPlace;
	int urlType;
}

class HomeContentDataRecommand with JsonConvert<HomeContentDataRecommand> {
	String image;
	double mallPrice;
	String goodsName;
	String goodsId;
	double price;
}

class HomeContentDataAdvertesPicture with JsonConvert<HomeContentDataAdvertesPicture> {
	@JSONField(name: "PICTURE_ADDRESS")
	String pictureAddress;
	@JSONField(name: "TO_PLACE")
	String toPlace;
	int urlType;
}

class HomeContentDataFloor with JsonConvert<HomeContentDataFloor> {
	String image;
	String goodsId;
}

class HomeContentDataSaoma with JsonConvert<HomeContentDataSaoma> {
	@JSONField(name: "PICTURE_ADDRESS")
	String pictureAddress;
	@JSONField(name: "TO_PLACE")
	String toPlace;
	int urlType;
}

class HomeContentDataNewUser with JsonConvert<HomeContentDataNewUser> {
	@JSONField(name: "PICTURE_ADDRESS")
	String pictureAddress;
	@JSONField(name: "TO_PLACE")
	String toPlace;
	int urlType;
}

class HomeContentDataFloorPic with JsonConvert<HomeContentDataFloorPic> {
	@JSONField(name: "PICTURE_ADDRESS")
	String pictureAddress;
	@JSONField(name: "TO_PLACE")
	String toPlace;
	int urlType;
}

class HomeContentDataFloorName with JsonConvert<HomeContentDataFloorName> {
	String floor1;
	String floor2;
	String floor3;
}

class HomeContentDataCategory with JsonConvert<HomeContentDataCategory> {
	String mallCategoryId;
	String mallCategoryName;
	List<HomeContentDataCategoryBxMallSubDto> bxMallSubDto;
	dynamic comments;
	String image;
}

class HomeContentDataCategoryBxMallSubDto with JsonConvert<HomeContentDataCategoryBxMallSubDto> {
	String mallSubId;
	String mallCategoryId;
	String mallSubName;
	dynamic comments;
}
